AUTOMAKE_OPTIONS=subdir-objects

AM_CPPFLAGS=-D__MGPLUS_LIB__

SUBDIRS=

noinst_LTLIBRARIES = libagg.la
#lib_LTLIBRARIES = libagg.la

if MGPLUS_FONT_FT2
freetype2_SRCFILES = font_freetype/agg_font_freetype.cpp 
freetype2_HDRFILES = font_freetype/agg_font_freetype.h 
else
freetype2_SRCFILES = 
freetype2_HDRFILES =
endif

SRC_FILES = agg_arc.cpp agg_image_filters.cpp agg_trans_single_path.cpp agg_vcgen_stroke.cpp\
agg_arrowhead.cpp agg_line_aa_basics.cpp agg_trans_warp_magnifier.cpp agg_vpgen_clip_polygon.cpp\
agg_bezier_arc.cpp agg_line_profile_aa.cpp agg_vcgen_bspline.cpp agg_vpgen_clip_polyline.cpp\
agg_bspline.cpp agg_rounded_rect.cpp agg_vcgen_contour.cpp agg_vpgen_segmentator.cpp agg_spline_ctrl.cpp\
agg_curves.cpp agg_sqrt_tables.cpp agg_vcgen_dash.cpp agg_platform_support.cpp agg_gamma_ctrl.cpp\
agg_embedded_raster_fonts.cpp agg_trans_affine.cpp agg_vcgen_markers_term.cpp agg_gamma_spline.cpp\
agg_gsv_text.cpp agg_trans_double_path.cpp agg_vcgen_smooth_poly1.cpp interactive_polygon.cpp \
agg_trans_perspective.cpp

HDR_FILES = agg_alpha_mask_u8.h agg_conv_transform.h agg_rasterizer_outline.h agg_span_image_filter_rgba.h\
agg_arc.h agg_conv_unclose_polygon.h agg_rasterizer_scanline_aa.h agg_span_image_filter_rgb.h\
agg_array.h agg_curves.h agg_rasterizer_sl_clip.h agg_span_interpolator_adaptor.h agg_gamma_spline.h\
agg_arrowhead.h agg_dda_line.h agg_renderer_base.h agg_span_interpolator_linear.h\
agg_basics.h agg_ellipse_bresenham.h agg_renderer_markers.h agg_span_interpolator_persp.h\
agg_bezier_arc.h agg_ellipse.h agg_renderer_mclip.h agg_span_interpolator_trans.h\
agg_bitset_iterator.h agg_embedded_raster_fonts.h agg_renderer_outline_aa.h agg_span_pattern_gray.h\
agg_blur.h agg_font_cache_manager.h agg_renderer_outline_image.h agg_span_pattern_rgba.h\
agg_bounding_rect.h agg_gamma_functions.h agg_renderer_primitives.h agg_span_pattern_rgb.h\
agg_bspline.h agg_gamma_lut.h agg_renderer_raster_text.h agg_span_solid.h agg_gamma_ctrl.h\
agg_clip_liang_barsky.h agg_glyph_raster_bin.h agg_renderer_scanline.h agg_span_subdiv_adaptor.h\
agg_color_gray.h agg_gradient_lut.h agg_rendering_buffer_dynarow.h agg_trans_affine.h\
agg_color_rgba.h agg_gsv_text.h agg_rendering_buffer.h agg_trans_bilinear.h agg_spline_ctrl.h\
agg_config.h agg_image_accessors.h agg_rounded_rect.h agg_trans_double_path.h\
agg_conv_adaptor_vcgen.h agg_image_filters.h agg_scanline_bin.h agg_trans_perspective.h\
agg_conv_adaptor_vpgen.h agg_line_aa_basics.h agg_scanline_boolean_algebra.h agg_trans_single_path.h\
agg_conv_bspline.h agg_math.h agg_scanline_p.h agg_trans_viewport.h\
agg_conv_clip_polygon.h agg_math_stroke.h agg_scanline_storage_aa.h agg_trans_warp_magnifier.h\
agg_conv_clip_polyline.h agg_path_length.h agg_scanline_storage_bin.h agg_vcgen_bspline.h\
agg_conv_close_polygon.h agg_path_storage.h agg_scanline_u.h agg_vcgen_contour.h\
agg_conv_concat.h agg_path_storage_integer.h agg_shorten_path.h agg_vcgen_dash.h\
agg_conv_contour.h agg_pattern_filters_rgba.h agg_simul_eq.h agg_vcgen_markers_term.h\
agg_conv_curve.h agg_pixfmt_amask_adaptor.h agg_span_allocator.h agg_vcgen_smooth_poly1.h\
agg_conv_dash.h agg_pixfmt_gray.h agg_span_converter.h agg_vcgen_stroke.h\
agg_pixfmt_rgba.h agg_span_gouraud_gray.h agg_vcgen_vertex_sequence.h\
agg_conv_marker_adaptor.h agg_pixfmt_rgb.h agg_span_gouraud.h agg_vertex_sequence.h\
agg_conv_marker.h agg_pixfmt_rgb_packed.h agg_span_gouraud_rgba.h agg_vpgen_clip_polygon.h\
agg_conv_segmentator.h agg_pixfmt_transposer.h agg_span_gradient_alpha.h agg_vpgen_clip_polyline.h\
agg_conv_shorten_path.h agg_rasterizer_cells_aa.h agg_span_gradient.h agg_vpgen_segmentator.h\
agg_conv_smooth_poly1.h agg_rasterizer_compound_aa.h agg_span_image_filter_gray.h agg_conv_stroke.h\
agg_rasterizer_outline_aa.h agg_span_image_filter.h agg_platform_support.h agg_ctrl.h interactive_polygon.h

if MGPLUS_FONT_FT2
libagg_la_SOURCES = $(SRC_FILES) $(HDR_FILES) $(freetype2_SRCFILES) $(freetype2_HDRFILES)
else
libagg_la_SOURCES = $(SRC_FILES) $(HDR_FILES)
endif

LIB_NAME=libagg

#DIST_SUBDIRS = font_freetype
EXTRA_DIST = $(SRC_FILES) $(HDR_FILES) font_freetype/agg_font_freetype.cpp font_freetype/agg_font_freetype.h

